package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialTerminateAttachmentRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialTerminateAttachmentPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialTerminateAttachmentDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialTerminateAttachmentDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialTerminateAttachmentDomainImpl extends BaseDomainImpl<ContractInitialTerminateAttachmentDto, ContractInitialTerminateAttachmentPo> implements ContractInitialTerminateAttachmentDomain {

    @Resource
    private ContractInitialTerminateAttachmentRepository contractInitialTerminateAttachmentRepository;

    @Override
    public BaseRepository<ContractInitialTerminateAttachmentPo> getMapper() {
        return contractInitialTerminateAttachmentRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialTerminateAttachmentPo>> getRepositoryClass() {
        return ContractInitialTerminateAttachmentRepository.class;
    }

}
